#ifndef MESSAGE_PHYSICS_H_INCLUDED
#define MESSAGE_PHYSICS_H_INCLUDED

/*
* Copyright (c) 2010 Michael Collins
*
* This file is part of TerraFirma.
*
* TerraFirma is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* TerraFirma is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with TerraFirma.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "message_header.h"
#include "task_thread.h"

namespace engine
{
    static const task_id physics_tid = get_task_id_by_name("physics_thread");

    //Enumerate how different threads can tell the physics thread what to do
    enum {
        SET_POSITION, //pos and dir
        SET_VELOCITY, //vel and rot
        SET_MASS, //scalar mass
        SET_PARENT, //sets the entity that this entity moves in relation to
        SET_AMBIENT_FRICTION, //Friction when not colliding with an arbitrary object
        SET_SURFACE_FRICTION, //Friction when sliding against the surface of another object
        FORCE, //adds a cumulative force
        IMPULSE //Imparts an instantaneous impulse
    };



}


#endif // MESSAGE_PHYSICS_H_INCLUDED
